class CreateNotifications < ActiveRecord::Migration
  def change
    create_table :notifications do |t|
      t.references :category
      t.float :amount
      t.string :account_id
      t.boolean :read

      t.timestamps
    end
    add_index :notifications, :category_id
  end
end
